package com.lanchetech.merchant.service;

import com.lanchetech.bean.request.PageReq;
import com.lanchetech.bean.response.BasePageResp;
import com.lanchetech.bean.response.BaseResp;
import com.lanchetech.bean.response.ResultData;
import com.lanchetech.bean.vo.InvoiceApplyDetailVO;
import com.lanchetech.bean.vo.InvoiceApplyVO;
import com.lanchetech.entity.InvoiceApply;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

public interface InvoiceService {

    ResultData<BasePageResp<InvoiceApplyVO>> getInvoiceApplyPage(PageReq req);

    ResultData<InvoiceApplyDetailVO> getInvoiceApplyDetail(@RequestParam("id") Long id);

    BaseResp auditInvoiceApply(InvoiceApply invoiceApply);

}